import router from "./router";
import store from "./store";

import render from "./render";

/**
 * 引入全局路由守卫
 */
import '@/router/guard.js'
/**
 * 装载插件
 */
import '@/install.js'

/**
 * Step1 初始化应用
 */
render({}, router, store);



/**
 * mainApp,subApp 通信
 */
import actions from "@/shared/actions.js";
import childrenEmit from "@/shared/emit.js";

/**
 * 监听回调
 */

actions.onGlobalStateChange(childrenEmit, true)

